import java.sql.Timestamp;

/**
 * @ClassName: Position
 * @Description:
 * @Author: 12071
 * @Date: 2021/4/20 17:55
 */
public class Position {
    private Integer id;
    private String bandMac;
    private Double x;
    private Double y;
    private Timestamp updateTime;
    private Integer spaceId;

    public Position() {
    }

    @Override
    public String toString() {
        return "Position{" +
                "id=" + id +
                ", bandMac='" + bandMac + '\'' +
                ", x=" + x +
                ", y=" + y +
                ", updateTime=" + updateTime +
                ", spaceId=" + spaceId +
                '}';
    }

    public Position(Integer id, String bandMac, Double x, Double y, Timestamp updateTime, Integer spaceId) {
        this.id = id;
        this.bandMac = bandMac;
        this.x = x;
        this.y = y;
        this.updateTime = updateTime;
        this.spaceId = spaceId;
    }

    public String getBandMac() {
        return bandMac;
    }

    public void setBandMac(String bandMac) {
        this.bandMac = bandMac;
    }

    public Double getX() {
        return x;
    }

    public void setX(Double x) {
        this.x = x;
    }

    public Double getY() {
        return y;
    }

    public void setY(Double y) {
        this.y = y;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getSpaceId() {
        return spaceId;
    }

    public void setSpaceId(Integer spaceId) {
        this.spaceId = spaceId;
    }
}
